package com.ice.body.log.model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ice.base.model.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.stereotype.Component;
import java.io.Serializable;
import lombok.Data;
import java.util.Date;
/**
 * Created by GuoYanBin.
 * Description:空气质量记录
 * Create Time: 2022-11-11 03:33
 */
@Component
@Data
public class LogAir implements Serializable{

    @ApiModelProperty(value ="id",position = 0)
    private Long id;

    @ApiModelProperty(value ="甲醛浓度",position = 0)
    private Integer formaldehyde;

    @ApiModelProperty(value ="tvoc",position = 0)
    private Integer tvoc;

    @ApiModelProperty(value ="pm2.5",position = 1)
    private Integer pm;

    @ApiModelProperty(value ="温度",position = 2)
    private Integer temperature;

    @ApiModelProperty(value ="湿度",position = 3)
    private Integer humidity;

    @ApiModelProperty(value ="空气质量",position = 4)
    private Integer airQuality;

    @ApiModelProperty(value ="二氧化碳",position = 5)
    private Integer carbonDioxide;

    @ApiModelProperty(value ="房间号",position = 6)
    private Integer warehouseId;

    @ApiModelProperty(value ="创建时间",position = 7)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
